package com.atguigu.yygh.user.service;

import com.atguigu.yygh.model.user.UserInfo;
import com.atguigu.yygh.vo.user.LoginVo;
import com.atguigu.yygh.vo.user.UserAuthVo;
import com.baomidou.mybatisplus.extension.service.IService;
import org.apache.ibatis.annotations.Mapper;

import java.util.Map;

/**
 * @author:ahang
 * @create:2022-09-06 19:39
 * @Description:
 */
@Mapper
public interface UserInfoService extends IService<UserInfo> {
    Map<String, Object> login(LoginVo loginVo);

    //根据openid查询userinfo
    UserInfo selectWeixinByOpenid(String openid);

    //用户认证
    void userAuth(Long userId, UserAuthVo userAuthVo);
}
